Hierarchical Modeling and Inference in Ecology: The Analysis of Data from Populations, Metapopulations and Communities