The Optimal Shape of a Market Area