In-situ optical pyrometry in the CVD of metallic thin films for real time control of the growth