Field map reconstruction in magnetic resonance imaging using Bayesian estimation