Synthesis of fiber Bragg grating parameters from reflectivity by means of a simulated annealing algorithm