Patterns of niche contraction identify vital refuge areas for declining mammals