Effect of cooling modes on microstructure and electrochemical performance of LiFePO4