Crack initiation and crack propagation in partially electroded PZT