Uniqueness and bifurcation for semilinear elliptic equations on closed surfaces