A mixed-space approach to first-principles calculations of phonon frequencies for polar materials | Synapse