Elongated high-temperature, dense plasma produced by a high-power-laser heating of a capillary discharge