how are mitosis and meiosis similar