Scotland have named Scott Johnson as their interim coach for the Six Nations and next summer's tour of South Africa.