Tate cohomology of periodic spectra