Obesity and type 2 diabetes harm bone health