UK convenience foods maker Northern Foods has said first-half trading has remained in line with its expectations, but it plans to close two factories in order to cut costs.