The X-ray behaviour of the high-energy peaked BL Lacertae source PKS 2155−304 in the 0.3–10 keV band