explain how the anatomy of compact bone is different from the anatomy of cancellous bone. how does this difference relate to the function of the bones?