Rational inattention and the dynamics of consumption and wealth in general equilibrium