Theory of the photothermal radiometry with solids