Measurement of polyacrylamide polymers in water and wastewater using an in-line UV–vis spectrophotometer