Estimation and Inference for High Dimensional Generalized Linear Models: A Splitting and Smoothing Approach