Kinetic and structural characterization of an intermediate in the biomineralization of bacterioferritin