A new apparatus to measure the thermal conductivity and diffusivity of thermoplastic and thermosetting polymers