European court allows banning of ritual slaughter for Jews and Muslims