A Theoretical Analysis of Metal−Molecule Contacts