Atomic force microscopy with optical heterodyne detection method