Sovereign credit ratings and their impact on recent financial crises