Anelastic spectroscopy study of the metal-insulator transition of Nd1-xEuxNiO3