Genetics solves mystery of rare brown pandas after 40 years