EU slams Poland, Hungary for Ukraine grain bans