A new watchdog will prevent sudden large-scale collapses like Carillion and BHS, the government says.