Sol-Gel Synthesis of BaTiO 3 Based Films for Photonic Applications