Information Frictions in Financial Markets: Applications to Macro and Finance