An asymptotic expansion for the distribution of the maximum of a class of Gaussian fields