Counterintuitive thermo-optical response of metal-dielectric nanocomposite materials as a result of local electromagnetic field enhancement