Distance-dependent noise measurements in scanning force microscopy