Greene King is closing a brewery as part of its purchase of UK regional brewer and pub group Hardys & Hansons.