Preparation of photonic crystal heterostructures composed of two TiO2 inverse opal films with different filling factors