Higher-Order Formulation for the Mechanical Analysis of Laminated and Latticed Shells with Complex Geometries and Materials