Negative and secondary ion formation in low-pressure flames