Phonons in amorphous and rhombohedral arsenic