Characterization of magnetic nanoparticles by a modular Hall magnetometer