Anderson localization in Euclidean random matrices