The triple A club of countries with the highest quality credit ratings has shrunk this year after Spain in January and Ireland in March were downgraded by Standard & Poor 's because of worries over their economies .