Ureas or thioureas containing the groups >N-CO-N< or >N-CS-N<