Essays On Frictions In Financial Intermediation