Barium Titanate Inverted Opals—Synthesis, Characterization, and Optical Properties