Influence of the anchor group on charge transport through single-molecule junctions.