Ionization of N2O by low-energy electrons and near-thermal rare-gas ions