Scottish election: how Brexit and independence referendums split voters into four tribes