The water metabolism of socio-ecosystems. Epistemology, methods and applications