Regulation of proliferation and apoptosis during development of the preimplantation embryo and the placenta.