The microstructure of dielectric coatings