Social insurance and taxation under sequential majority voting and utilitarian regimes