Quality of life and work in patients with rheumatoid arthritis and ankylosing spondylitis of working age