RBS posts £2bn loss for 2011