A New Approach to the Joint Consumption-Portfolio Problem