Farah returns for European championships after scare