Semi-automated surface detection for quantification of left and right ventricular volumes by MRI