Emissivity measurements with an atomic force microscope