Carbon balance in grapevines ( Vitis vinifera L.): effect of environment, cultivar and phenology on carbon gain, losses and allocation