Understanding the Conductance of Single-Molecule Junctions from First Principles