Three-dimensional nonlinear Schrödinger equation for plasma waves