Kurdish forces are in full control of Iraq's oil-rich city of Kirkuk after the federal army abandoned their posts, a peshmerga spokesman says.