Sampling-variance effects on detecting density dependence from temporal trends in natural populations