Critical intermediate β‐Li2NiO3 phase for structural degradation of Ni‐rich layered cathodes during thermal runaway