Electronic spectra of gaseous nitric oxide in magnetic fields up to 10 T