Summarize the process of mitosis and meiosis.