Coping with Credit Risk: Essays on defaulted bonds, asset based lending and provisioning for loan losses by financial institutions