Structure, Electrical, and Optical Properties of Barium Titanate