The alchemy of CDO credit ratings