Characterization of Fricke gel dosimeters exposed to clinical photons beams and of MRI dosimetrical applications