Diagnosis and treatment of osteoporosis before and after admission to long-term care institutions