Boom-Bust Cycles in Middle Income Countries: Facts and Explanation