Three teams carried out the attacks in the French capital which killed 129 people and left more than 350 wounded, the Paris chief prosecutor says.