Metal-insulator transition in Ne1-xYxNiO3 probed by specific heat and anelastic measurements