Former US energy secretary Moniz warns on dangers of AI in nuclear weapons loop