Sturgeon’s plan thrown into doubt as independent Scotland ‘would be better off outside EU’