Performance of a scanning force microscope using a laser diode