Diffraction of electromagnetic wave on finite carbon nanotube array perpendicular to interface of mediums