Accounting for Shear Deformation in the Problem of Vibrations and Dissipative Heating of Flexible Viscoelastic Structural Element with Piezoelectric Sensor and Actuator