Several top Ukrainian officials, including the deputy minister of defence, have announced their resignations as the presidency warns of tough anti-graft measures.