Singly and doubly charged particles in the primary cosmic radiation