Vector valued fourier series and sample continuity of random processes