Optimal retail location and CO2 emissions