SABMiller is to move most of its beer brands' UK marketing and distribution in-house.