The assembly and disassembly of ecological networks in a changing world