Photonic crystals as optical fibres – physics and applications