From barcoding to metagenomics: molecular identification techniques for ecological studies of endangered primates