Accurate frameless registration of MR and CT images of the head: applications in planning surgery and radiation therapy.