Dietary adaptations of temperate primates: comparisons of Japanese and Barbary macaques