P-spline based nonrigid brain MR image registration using regional mutual information