Photonic properties of titania inverse opal heterostructures