Euclidean random matrices, the glass transition and the boson peak