Ground states and singular ground states for quasilinear elliptic equations in the subcritical case