The Sparse-Grid-Based Adaptive Spectral Koopman Method