Impacts of growth temperature, water deficit and heatwaves on carbon assimilation and growth of cotton plants (Gossypium hirsutum L.)