Conformation and hydrogen ion titration of proteins: a continuum electrostatic model with conformational flexibility.