Optical properties of ordered three-dimensional arrays of structurally confined semiconductors