Ecological correlates of population genetic structure: a comparative approach using a vertebrate metacommunity