Novel scanning magnetic microscopy method for the characterization of magnetic nanoparticles