Genomic erosion in the assessment of species extinction risk and recovery potential