Measurement of Kapitza resistance and thermal conductivity