Investigation of sodium insertion-extraction in olivine NaxFePO4 (0 ≤x≤ 1) using first-principles calculations.