Competition between Co(NH(3)(6)3+ and inner sphere Mg2+ ions in the HDV ribozyme.