Electromagnetic fields for the treatment of osteoarthritis