Nematic fluctuations and phase transitions in LaFeAsO: A Raman scattering study