Self-imaging transverse-offset measurements in single-mode optical fibres