Optimization of large homogeneous air Cherenkov arrays and application to the design of a 1–100 TeV γ-ray observatory