On the environment of ionizable groups in globular proteins