Neutron diffraction study of the structural phase transition in SnS and SnSe