Ratings agency Standard & Poor's has downgraded Spain's credit rating, highlighting a deepening recession and mounting pressure on Madrid's finances.…