WASHINGTON — Defense Secretary Robert M. Gates acknowledged on Sunday that the United States had begun preliminary talks with members of the Taliban as part of an effort to end the war in Afghanistan.