President Donald Trump's decision to ban immigrants from seven Muslim-majority countries has sparked criticism across Europe.