The role of CO 2 detachment in fungal bioluminescence: thermally vs. excited state induced pathways