Assessing temporal variation of primary and ecosystem production in two Mediterranean forests using a modified 3-PG model