The phase transition in sodium nitrite