LONDON — The former director general of Britain's domestic intelligence agency said Tuesday that the wars in Iraq and Afghanistan had greatly increased the terrorist threat to Britain and that intelligence available before the Iraq war had not been sufficient to justify the invasion of that country.