Synthesis of barium titanate by the sol-gel process