Habitat quality from individual- and population-level perspectives and implications for management