Linear series on curves: Stability and clifford index