Temperature-dependent optical properties of composite plasmonic nanomaterials