Electrically switchable photonic crystals based on liquid-crystal-infiltrated TiO2-inverse opals.