Continual relation extraction via sequential multi-task learning