Automatic Segmentation of Cardiac MRI Using Snakes and Genetic Algorithms