Sharp stability estimates of harmonic continuation along lines