Nonlocal de Sitter gravity and its exact cosmological solutions