Hidden stratification causes clinically meaningful failures in machine learning for medical imaging