Reassembly of species interaction networks