The male and female perspective in the link between male infant care and mating behaviour in Barbary macaques