Effect of Pressure on the Spectra of Olivine and Garnet