The four-time gold medalist says he has suffered from occasional depression for years but now it's "a persistent thing"