Thermal Fluctuations of the Optical Properties of Nanomechanical Photonic Metamaterials