Model of stomatal ammonia compensation point (STAMP) in relation to the plant nitrogen and carbon metabolisms and environmental conditions