Bleaching of Sm2+ during photoluminescence and cathodoluminescence