Simultaneous measurements of thermal diffusivity and thermal conductivity under high pressure using thermal pulses of finite length