Food–energy–water nexus optimization brings substantial reduction of urban resource consumption and greenhouse gas emissions