how does the structure of collagen relates to its function as a connective tissue