Quadratic Engel curves, welfare measurement and consumer demand