On the core of dynamic cooperative games