Deep Learning For Automated Analysis Of Cardiac Imaging: Applications In Cine And 4D Flow Mri