A multidimensional assessment of well-being based on Sen's functioning approach