Analytical Formulation by Means of Complex Potentials of Crack Models in a Piezoelectric Material