How are electromagnetic flow meters used in wastewater treatment?