Scottish independence is “within reach”, John Swinney has said, after a poll projection put his party just one seat short of a majority at this year’s Holyrood election.