Environmental Protection and Spatial Allocation of Investments