Multi-scale trend analysis of water quality using error propagation of generalized additive models