Mechanical and electrical yielding for an electrically insulated crack in an interlayer between piezoelectric materials