Synthesis of nanostructured iron oxides dispersed in carbon materials and in situ XRD study of the changes caused by thermal treatment