Photostability of lasers based on pyrromethene 567 in liquid and solid-state host media