A Small All-in-One Photon-Counting Device for Measuring Luminescence Decays to Determine the Lifetimes of Photoexcited Materials