Optical properties and critical-point energies of BaTiO3 (001) from 1.5 to 5.2 eV