Derivatives of melamine in which a hetero atom is directly attached to a nitrogen atom of melamine