Local mate competition and the sex ratios of malaria parasites, with a focus on Plasmodium mexicanum