Halliburton to buy Baker Hughes for $35 billion