Development of the spectral difference method and application in the numerical investigation of the separated and transitional flows over a low-Reynolds number airfoil