Ligand binding and hydration in protein misfolding: insights from studies of prion and p53 tumor suppressor proteins