Vibrational study of the ferroelastic phase transition in [(CH3)4P]3[Bi2Cl9] and [(CH3)4P]3[Bi2Br9]