U.S. posts smallest budget deficit in two years as employment rebounds