The government is set to announce a ban on unhealthy foods in English school meals and vending machines.