Two-way time and frequency transfer using optical fibers