Reduction of geometric and intensity distortions in echo‐planar imaging using a multireference scan