Thermally induced deformations in a partially coated elastic layer