Flashback: Understanding and Mitigating Forgetting in Federated Learning