Multifunctional anthraquinone-based sensors: UV, O2 and time