Spain's annual inflation hits 8.7% in May