Farsighted Behavior Leads to Efficiency in Duopoly Markets