Cooperativity functions and site binding constants in polyprotic acids