1D Hierarchical Ritz- and 2D GDQ-Based Approaches for the Mechanical Modeling of Thin-Walled Composite Structures