Germany to take action over anti-refugee attacks