X-ray based technique for estimating bone fracture risk