Women who win but do not rule. The effect of gender in the formation of governments