Nonequilibrium neutrino oscillations in the early Universe with an inverted neutrino-mass hierarchy