Iraqi government troops have taken control of the northern city of Kirkuk amid tensions over Kurdish secession bid.