Electronic structure and spectra of the lowest five 1Σ+ and 3Σ+ states, and lowest three 1Π, 3Π, 1Δ, and 3Δ states of NaK