Theory of near-field magneto-optical imaging.