Monitoring the length change of Ni@C composite electrodes during charging/discharging processes