Advances in real-time monitoring of water quality using automated analysis of animal behaviour.