Variational sequences on finite order jets of submanifolds