Russia and Ukraine agree price on gas