Interaction of Polyamines with Mg2+ and Ca2+