Multi-echo imaging in highly inhomogeneous magnetic fields