Techniques for determining the efficacy of treatment of osteoporosis