Effects of top layer inhomogeneities on the performance of Fabry-Perot cavities and open resonators based on distributed Bragg reflectors | Synapse