Metal binding and base ionization in the U6 RNA intramolecular stem-loop structure