Detecting Rare Events Using a One-Class Classifier Based on Diffusion Autoencoders