Structure and phase transition in BaThO3: A combined neutron and synchrotron X-ray diffraction study