Metal ion mediated non-covalent interactions in the ternary complexes of nucleosides and amino acids in solution