Britain’s state funerals and the art of improvisation