Electromagnetic scattering by regular polygonal cylinders