Spanish King pelted with rocks during flood visit