Reaction behavior of LiFePO4 as a cathode material for rechargeable lithium batteries