Effects of yttrium doping on structural, electrical and optical properties of barium titanate ceramics