Condensate in quasi-two-dimensional turbulence