The adaptive complexity of maximizing a submodular function