Text this: A deep learning algorithm for automatic 3D segmentation and classification of the sheep placenta in magnetic resonance images