Atomic beam diagnostics for characterization of edge plasma in TJ-II stellarator