Sovereign credit ratings and financial markets linkages. Application to European data