Optical Antireflection of a Medium by Nanostructural Layers