Wastewater facilities and urban development: an integrated framework