Planning with Submodular Objective Functions