Mass- and Energy-Conserved Numerical Schemes for Nonlinear Schr ¨odinger Equations