A new class of generative classifiers based on staged tree models