Energy spectra of abundant cosmic-ray nuclei in the NUCLEON experiment