Spain’s economic problems were put in sharp relief Friday as figures showed unemployment is near 25 percent and a credit ratings agency hours earlier downgraded the country’s debt rating, warning it faces an uphill battle to get a grip on its finances.