Analysis of the heterogeneous structure of iron oxide/gold nanoparticles and their application in a nanosensor