The genomic footprints of the fall and recovery of the crested ibis