Role of alkali metal and ammonium cations in the self-assembly of the 5'-guanosine monophosphate dianion