Crystal Dynamics and the Ferroelectric Phase Transition of Sodium Nitrite