An analysis of the accumulation of water and dry matter in tomato fruit