Full complex transmission and reflection characterization of a Bragg grating in a single laser sweep