spongy bone function and structure