The government has published the scripts that chief medical officers would read out in the event of a national blackout.