An introduction to fiber optic systems