Bencic wins gold for Federer and Hingis