Assessing the ecological long-term impact of wastewater irrigation on soil and water based on bioassays and chemical analyses.