A biomechanical model of soft tissue deformation, with applications to non-rigid registration of brain images with tumor pathology