Quantum Chemical Studies on Atomic-scale Tribology