Optical transceiver used in fibre links and switches