Flux pinning behaviors of Ti and C co-doped MgB2 superconductors