what function do capillaries serve in the cardiovascular system