British bank Barclays posted a rise in full-year pre-tax profit that came in just ahead of analyst expectations, while also launching a £1 billion share buyback.