Cathode properties of amorphous and crystalline FePO4