On the automorphism group of some K3 surfaces with Picard number two