Prediction of mechanical properties of trabecular bone in patients with type 2 diabetes using damage based finite element method.