Proton chemical-shift imaging with magnetically and electrically inhomogeneous objects