What does the structure of veins have to do with the function of the veins?