Production technologies for manufacturing of metamaterials and photonic crystals