how are sperm formation and egg formation similar?