Boundary element modeling of cracks in piezoelectric solids