The binding of polyamines and magnesium to DNA.