P-model v1.0: an optimality -based light use efficiency model for simulating ecosystem gross primary production