The induced Chern–Simons term at finite temperature