Influence of frictional forces on atomic force microscope images