A cache of a quarter-million confidential American diplomatic cables, most of them from the past three years, provides an unprecedented look at backroom bargaining by embassies around the world, brutally candid views of foreign leaders and frank assessments of nuclear and terrorist threats.