A variational approach to bifurcation in reaction-diffusion systems with Signorini type boundary conditions