Application of modified starches in wastewater treatment