Multimodality deformable registration of pre- and intraoperative images for MRI-guided brain surgery