The phase transition and optimal synthesis temperature of LiNiO2