Scattering by a dielectric cylinder of arbitrary cross section shape