Ex-Scotland captain Stuart Hogg says he retired to save his marriage but the decision was the "biggest mistake" of his life.