Ab initio calculation of the vibrational spectra of BeF2 glass simulated by molecular dynamics