Strain-controlled thermal conductivity in ferroic twinned films