Heterogeneous information about the term structure, least-squares learning and optimal rules for inflation targeting