Group descent algorithms for nonconvex penalized linear and logistic regression models with grouped predictors