Convolutional Neural Networks With Intermediate Loss for 3D Super-Resolution of CT and MRI Scans