Former Scotland captain Stuart Hogg said spending time at a rehabilitation centre has helped him "reset" after he was arrested and charged following an incident in his hometown of Hawick last month.