Fiber optics in communications systems