An innovative technique to synthesize C-doped MgB2by using chitosan as the carbon source