Confinement Effects on the Thermodynamics and Transport of Polymers