What are the most important functions of the skeletal system?