How to reduce bod and cod in wastewater