Incorporating photosynthetic acclimation improves stomatal optimisation models