ESSAYS ON CREDIT RISK IN EMERGING MARKETS