Ion binding to heparins in mixed-valency counterion systems