An extension of the Nyquist-Barkhausen stability criterion to linear lumped-parameter systems with time-varying elements