Termite queens close the sperm gates of eggs to switch from sexual to asexual reproduction