Relaxed sufficient conditions for the stability of continuous and discrete-time linear time-varying systems