Integrated Optimization of Location, Design, and Operation of Renewable Energy Systems for Urban Microgrids