Understanding crystallization features of P(VDF-TrFE) copolymers under confinement to optimize ferroelectricity in nanostructures