Digital pulse interval modulation for optical fibre transmission