EU Commission questions legality of Hungary's migrant referendum