Spain warns Argentina over energy nationalisation