Environmental constraints to photosynthesis in ex vitro plants