Adhesion and Friction of Thin Films