Royal Bank of Scotland to close a fifth of branches