Exact solutions for electroelastic analysis of generalized plane strain and torsion of piezoelectric cylinders