Efficient photogeneration of triplets in shock-compressed 2,4-dinitrostilbene