The generation of epithelial polarity in mammalian and Drosophila embryos