In what way does the endocrine system work with the skeletal system?