Spectroscopy of Massive Stars in NGC 6822 and M33