Impact on enzyme activity as a new quality index of wastewater