AdS and stabilized extra dimensions in multi-dimensional gravitational models with nonlinear scalar curvature terms R−1 and R4