Influence of anchoring groups on single-molecular junction conductance: Theoretical comparative study of thiol and amine