Simple explicit formulas for Gaussian path integrals with time-dependent frequencies