Luminescence decay-time-based optical sensors: principles and problems