Longitudinal Changes in Physical and Cognitive Functions among Participants with and without Rheumatoid Arthritis in Community-Dwelling Middle-Aged and Older Adults