The timescale for another Scottish referendum will be dictated by when and if David Cameron begins negotiations for Britain to withdraw from the EU, Alex Salmond has said.