Vortex interaction in Josephson-junction ladders☆