£4.2 million River Nidd water quality scheme completed near Harrogate