Thermal effects during the deposition of thin silver, gold and copper films and their influence on internal stress measurements