Electrochemical reduction of nitrates and nitrites in alkaline media in the presence of hexavalent chromium