Observation of a phase transition in ThBr4 and ThCl4 single crystals by far-infrared and Raman spectroscopy study