Competitive binding of cations to duplex DNA revealed through molecular dynamics simulations.