Self-organization of double-chained and pseudodouble-chained surfactants: counterion and geometry effects