Segmentation of Brain Tumor Magnetic Resonance Images Using a Teaching-Learning Optimization Algorithm