Selective reduction of nitrate to nitrogen gas in a biofilm-electrode reactor