President Barack Obama says that US-backed Iraqi troops could be in a position "fairly rapidly" to liberate the northern city of Mosul from the Islamic State group.