Capital Controls: Theory and Evidence