Node-dependent kinematic elements for the dynamic analysis of beams with piezo-patches