Nanostructured one-and three-dimensional magnetophotonic crystals based on porous silicon and artificial opals