The newly-elected French president has sparked a row with Italy over the sale of a shipyard, raising questions over his pro-European credentials.