Cracks and fracture in piezoelectrics