The Credit Channel in Middle Income Countries