Tennis star Kyrgios says he had suicidal thoughts, self-harmed