Measurement of thermal noise in multilayer coatings with optimized layer thickness