The equity premium and time-varying risk behavior