Hybrid finite element-boundary integral algorithm to solve the problem of scattering from a finite array of cavities with multilayer stratified dielectric coating.