Consumption and real exchange rates in dynamic economies with non-traded goods