Relative Clifford's theorem for fibered varieties by curves