A Mathematical Model of the Risk of Nuclear Terrorism