Productivity Shocks, Habits, and the Current Account