Phonon anomalies and the ferroelectric phase transition in multiferroic BiFeO 3