Bayesian analysis of fluorescence lifetime imaging data