Classical inequality indices, welfare functions, and the dual decomposition