RBS bank agrees $4.9bn civil penalty to end U.S. probe