Synthesis and characterization of Fe3O4 and ZnO nanocomposites by the sol–gelmethod