Using museum specimens to assess historical distribution and genetic diversity in an endangered butterfly