Individual- and group-level sex ratios under local mate competition: consequences of infanticide and reproductive dominance