Use of smoke samples in diamond-anvil cells to measure pressure dependence of optical spectra: Application to the ZnO exciton