Production of magnetite by electrolytic reduction of ferric oxyhydroxide