Dynamics of the formation of Bragg gratings in germanosilicate optical fibers