Researchers have created sensors with luminous bacteria that will help detect bleeding in the intest