Deep learning with simulated data for medical imaging