Comparative Structural Study of Metal-Mediated Base Pairs Formed outside and inside DNA Molecules