Factors associated with the appearance of psychiatric symptoms in rheumatoid arthritis.