The influence of maternal rank and infant sex on maternal investment trends in rhesus macaques: birth sex ratios, inter-birth intervals and suckling patterns