Closed-form Estimators for High-dimensional Generalized Linear Models