Determining linear cracks by boundary measurements: Lipschitz stability