Scanning force microscopy of semiconductor materials and devices