Influence of flame-generated ions on the simultaneous charging and coagulation of nanoparticles during combustion