Researchers discover how rheumatoid arthritis causes bone loss