A FFT-based finite-difference solver for massively-parallel direct numerical simulations of turbulent flows