Characterization of magnetic nanoparticles in biological matrices