Term structure, inflation and real activity