France says deadly attack on factory near Lyon is a terrorist event