Surface electrostatics, reduction potentials, and the internal dielectric constant of proteins