A dynamic almost ideal demand system incorporating consumer expectations