Venezuela and Colombia agree to gradual reopening of border