Thermal properties of SmFeAsO1-xFx as a probe of the iterplay between electrons and phonons