Assessing species distributions and the effects of habitat fragmentation : the case of the giant panda