Gaussian lacunary series and the modulus of continuity for Gaussian processes