Optical Magnetometry of Single Biocompatible Micromagnets for Quantitative Magnetogenetic and Magnetomechanical Assays.