Thyroid function in Legg-Calvé-Perthes disease: cross-sectional and longitudinal study.