Towards holistic assessment of the functioning of ecosystems under the Water Framework Directive