High-temperature neutron diffraction study of La2-xSrxCoO4: correlation between structure and transport properties