Invariant properties of Timoshenko beam equations