Development and evolution of external genitalia