Diagnosis and treatment of juvenile osteoporosis