Wave propagation in compact, thin-walled, layered, and heterogeneous structures using variable kinematics finite elements