Patient-specific simulation environment for surgical planning and preoperative rehearsal