Scottish people's DNA study could 'rewrite nation's history'