Class-Prototype Conditional Diffusion Model for Continual Learning with Generative Replay