Ecological effect of photorespiration of plants under environmental stress