The Duchess of Sussex has said she's glad she spoke out about suicidal thoughts and will "take a hit" for it if her words help save the lives of others.