Studies on dispersion of phonons and dielectric behaviour of ionic semiconductors and transition metal oxides