Anharmonic phonons and magnons in BiFeO3