A French court has found the US biotech giant Monsanto legally responsible for the poisoning of a farmer who inhaled a powerful weedkiller.