The Supreme Court has ruled that a second Scottish independence referendum cannot take place