Ukraine official says minerals deal agreed with US