Tuning Molecular Orbitals in Molecular Electronics and Spintronics.