Effective population size in ecology and evolution