Tuning of photoluminescence properties of functional phthalides for OLED applications