Waveguiding properties and the spectrum of modes of hollow-core photonic-crystal fibres