Tiger Woods has said he is "stepping away for a period of time to seek treatment" after being charged with driving under the influence.