Doping dependence of softening in the bond-stretching phonon mode of La 2 − x Sr x CuO 4 ( 0 ⩽ x ⩽ 0.29 )