Impact of nuclear effects in the measurement of neutrino oscillation parameters