Temperature-dependent Raman and x-ray studies of the spin-ice pyrochlore Dy 2 Ti 2 O 7 and nonmagnetic pyrochlore Lu 2 Ti 2 O 7