Time-varying risk aversion and the profitability of momentum trades