Argentina's president has threatened the UK with legal action over an oil project off the coast of the Falklands.