New method to measure threat of extinction could help conservationists prioritize