Heterocycle-based materials for frequency-upconverted lasing