Argentine president visits Spain amid snap elections