Duterte vows to impeach chief justice, prosecutor