Indirect measurement of thermal conductivity in silicon nanowires