New tool helps doctors predict patient's bone density