Heterodyne Phase Shifting Method in ScanningProbe Microscopy