Device containing volatile liquid in a sealed chamber to transfer heat by conduction and phase transition