Location choice and optimal zoning under Cournot competition