Optically-controlled bacterial metabolite for cancer therapy