Analysis of phase mixtures in ferroelectric ceramics by dielectric measurements