Lifetime spectroscopy with high spatial resolution based on temperature- and injection dependent photoluminescence imaging