Federer, Hingis to play mixed doubles in Rio