What happens before sexual reproduction to ensure a zygote is diploid?