Deutsche Bank flags cost cuts as investment bank slump lowers profit