A spectral multidomain method for the numerical simulation of turbulent flows