Endogenous Tastes in Demand and Welfare Analysis