Fiber-optic basics