Loss of males from mixed-sex societies in termites