Anion-pi and pi-pi cooperative interactions regulating the self-assembly of nitrate-triazine-triazine complexes.