A ban on some single-use plastics will come into force in England from October, the government has announced.