Baker Hughes posts 2Q loss despite signs of global economic recovery