Gravar-mail: Detection of social group instability among captive rhesus macaques using joint network modeling