A 1D Ritz–Jacobi formulation for the modal analysis of 3D anisotropic laminated composite and soft-core sandwich beam structures through 2D polynomials