Influence of substrate in photothermal measurements of thin film absorption