Wavelength shifting in photonic bandgap microcavities with isotropic media