Global solutions and stable ground states of nonlinear Schro¨dinger equations