A separate Scotland would be outside EU for a decade