An extreme magneto-ionic environment associated with the fast radio burst source FRB 121102