Why are the excretory and the reproductive systems studied together as the urogenital system?