Inhibition of the activities of β-galactosidase and dehydrogenases of activated sludge by heavy metals