Friction and Wear in Micro- and Nanomachines