Stopband tuning of TiO2 inverse opals for slow photon absorption