Bacterial bioluminescence assay for bioanalysis and bioimaging