Expectation puzzles, time-varying risk premia, and affine models of the term structure