An integral function approach to the exponential stability of linear time-varying systems