The relationship between leaf and ecosystem CO2 exchanges in a maize field