A Unified Approach to Measuring Poverty and Inequality: Theory and Practice