Studies of the photonic and optical-frequency phonon properties of arrays of selectively grown GaN micropyramids