Using the relational event model (REM) to investigate the temporal dynamics of animal social networks