On the origin of the boson peak