Carlsberg is to expand lager production at its UK brewery in Northampton following a plan to close its brewery in Leeds.