Confinement effects on polymer crystallization: From droplets to alumina nanopores