Ligand loop effects on the free energy change of redox and pH-dependent equilibria in cupredoxins probed on amicyanin variants