Deutsche Bank beats expectations despite 27% drop in profit, jump in costs