Clifford's theorem on special divisors