In vivo photopharmacology enabled by multifunctional fibers