Osteoporosis among patients with type 1 and type 2 diabetes.