Ukraine and Russia agree to diplomatic talks