Dynamics and circulation regimes of terrestrial planets