Tailored acoustic metamaterials. Part I. Thin- and thick-walled Helmholtz resonator arrays