How are the respiratory and circulatory systems similar?