A lateral modulation technique for simultaneous friction and topography measurements with the atomic force microscope