Phase transition behavior of BaTiO3 thin films using high-temperature x-ray diffraction