Optical flow based method for non-rigid registration of diffusion tensor magnetic resonance images