spongy bone function and role