Bioresorbable optical fiber Bragg gratings