Determination of leaf carbon isotope discrimination in C4 plants under variable N and water supply