Continual pre-training mitigates forgetting in language and vision | Synapse