A sodium ion intercalation material: a comparative study of amorphous and crystalline FePO4.