The man who killed scores of people by driving a truck into them in the French city of Nice - Mohamed Lahouaiej-Bouhlel - was known by police for violence and threatening behaviour, French prosecutor Francois Molins says.