Michael Phelps has announced he will take a break from competitive swimming after being charged with driving under the influence of alcohol