Turkish PM slams European Union