Quantitative nanotribology by atomic force microscopy