Neutral Higgs sector of the next-to-minimal supersymmetric standard model with explicit CP violation