Balanced multi-image demons for non-rigid registration of magnetic resonance images