How does the circulatory and respiratory system work together?