Characterization and design of single-mode optical fibres