Interaction between an electrically permeable crack and the imperfect interface in a functionally graded piezoelectric sensor