Germany's Hambuechen wins gold in horizontal bar