Nanoconfinement Effects On The Glass Transition: A Study Of Nanolayered And Freestanding Coarse-Grain Polymer Films