Supporters of Scottish independence have taken their first opinion poll lead since the referendum campaign began.