Wayne Rooney has revealed there was a period in his Manchester United career where he contemplated suicide.