3D Printing and Shaping Polymers, Composites, and Nanocomposites: A Review