Association between long-term hospitalization for mental illness and locomotive syndrome.