A model of global net ecosystem production