p-variation for families of local times on lines