Computer-controlled apparatus for internal friction and Young’s modulus measurements as a function of temperature