Deutsche Bank has reached a $7.2 billion deal with U.S. authorities to settle allegations of mis-selling securities.