Performance and photostability of xanthene and pyrromethene laser dyes in sol-gel phases