Phonon thermal conductivity and stripe correlations in La 2-x Sr x NiO 4 and Sr 1.5 La 0.5 MnO 4