Phonon Anomalies in d-Band Metals and their Relationship to Superconductivity