Denitrification of metallurgic wastewater: mechanisms of inhibition by Fe, Cr and Ni