Cellular and molecular mechanisms of development of the external genitalia