Bias in estimates of primary production: An analytical solution