On-line monitoring of radiation damage in optical fibers