US and Ukraine agree to terms on natural resources and reconstruction, official says