Two-loop contribution of massive and massless fields to the abelian Chern-Simons term