Relationship between local and total bone mass in osteoporosis