A spectral-element dynamic model for the Large-Eddy simulation of turbulent flows