Towards an infrastructure ecology framework for sustainable urban planning and water management