Centroid Distance Distillation for Effective Rehearsal in Continual Learning