Diabetes and osteoporosis