Lie- and chronological-algebraic tools for studying stability of time-varying systems