Fundamentals of Friction and Wear on the Nanoscale