Deep learning for automatic facial detection and recognition in Japanese macaques: illuminating social networks