Theory of lattice-dynamical properties of solids: Application to Si and Ge | Synapse