Top diplomat tells lawmakers Ukraine aid was tied to aid