Piezoelectric bimorph response with imperfect bonding conditions