Dimensional regularization of the path integral in curved space on an infinite time interval