GenErode: a bioinformatics pipeline to investigate genome erosion in endangered and extinct species