HSBC has announced plans to shut 82 UK branches this year after a shift towards telephone and internet banking.