First-Principles Calculation of Force Constants and Full Phonon Dispersions