A neutron powder investigation of the high-temperature structure and phase transition in LiNbO3