Circuit design for transient measurements of electrical properties of thin metal films and thermal properties of insulating solids or liquids