Asymptotic stability for time-variant systems and observability: uniform and nonuniform criteria