Painlevé Integrability of Nonlinear Schrödinger Equations with both Space- and Time-Dependent Coefficients