Two Fed officials retire amid scrutiny over investment trades