Integration of biomass into urban energy systems for heat and power. Part I: a MILP based spatial optimization methodolog