Scattering of electromagnetic plane waves by an arbitrary dielectric infinite cylinder