Deconstructing double-barred galaxies in 2D and 3D – II. Two distinct groups of inner bars