Phonon anomalies and superconductivity in the hcp metals, Tc, Re, and Ru