Automatic classification of medical image modality and anatomical location using convolutional neural network