The protonation thermodynamics of cyclodextrin-containing polymers for drug inclusion