Ukraine’s president Volodymyr Zelenskyy has fired two senior officials – the chief of the domestic security agency and the top state prosecutor.