Analysis of stress and electric fields in a rectangular piezoelectric body with a center crack under anti-plane shear loading