Injective linear series of algebraic curves on quadrics