Libyan leaders urged to establish legal basis for elections