Atmospheric Circulation of Hot Jupiters and Super Earths