Atomic and molecular beams from electrical discharges: their characterization and applications useful for plasma diagnostic and chemical modeling