Nanotribological Behavior of Carbon Based Thin Films: Friction and Lubricity Mechanisms at the Nanoscale