Coordination of a triazine ligand with CuII and AgI investigated by spectral, structural, theoretical and docking studies.