CMRINet: Joint Groupwise Registration and Segmentation for Cardiac Function Quantification from Cine-MRI