Alex Salmond says Nicola Sturgeon would not have announced plans for second independence referendum if she knew about snap election