Electrical discharges in the vapour phase in liquid-filled capillaries