X-ray and neutron diffraction studies of the incommensurate structural transition in β-ThBr4