On the performance limits of coatings for gravitational wave detectors made of alternating layers of two materials