Nanocomposites based on opal matrices and iron subgroup metal nanoparticles