Germany’s biggest lender reports a 42% jump in quarterly profits after major restructuring takes effect