Quantitative magnetic characterization of single cells