Computing multicast trees in dynamic networks and the complexity of connected components in evolving graphs