Spain's annual inflation in October exceeds forecasts