Facile preparation of spherical TiO2 inverse opals with enhanced visible-light photodegradation of methylene blue