Supramolecular lone pair-pi/pi-pi/pi-anion assembly in a Mg(II)-malonate-2-aminopyridine-nitrate ternary system.