Oscillation effects on neutrino decoupling in the early universe