Direction and stability of bifurcation branches for variational inequalities