The country has endured an “epic of endurance”, Boris Johnson says, as the UK holds a day of reflection.