Osteoarthritis and rheumatoid arthritis