Electronic polarizability effects on the anharmonic phonon shift and damping in ionic crystals