Evolutionary History of the HAP2/GCS1 Gene and Sexual Reproduction in Metazoans