Determination of femtosecond-laser-induced refractive-index changes in an optical fiber from far-field measurements.