Preparation and electrochemical investigation of Li2CoPO4F cathode material for lithium-ion batteries