Dark energy, wormholes, and the big rip