Barclays has revealed its profits jumped by a quarter last year as the banking giant benefited from a rebound in global investment and deal-making.