Nanoconfinement as a tool to study early stages of polymer crystallization