Generalized susceptibilities and phonon anomalies in Pd and Pt metals