Fox, Dish agree on retrans deal