Multimaterial bioresorbable optical fibers for theranostics