Disease-detecting AI flounders when applied to images from other hospitals