Role of the density structure and air-sea fluxes on subpolar transformation