Electrochemical property investigation of cobalt doped LiFePO4/C during charge-discharge by an in-situ x-ray near edge structure technique